From 3e9d7b058c60ab554d1c7dfc70096ba90493be38 Mon Sep 17 00:00:00 2001 From: Frederick Zhang Date: Thu, 27 Aug 2015 02:02:34 +0800 Subject: [PATCH] add forgotten local declarations --- src/etc/cargo.bashcomp.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/etc/cargo.bashcomp.sh b/src/etc/cargo.bashcomp.sh index 00e0067cf..8aa12834e 100644 --- a/src/etc/cargo.bashcomp.sh +++ b/src/etc/cargo.bashcomp.sh @@ -103,6 +103,7 @@ _get_targets(){ local TARGETS=() local FIND_PATHS=( "/" ) local CURRENT_PATH=$(_locate_manifest) + local FIND_PATH LINES LINE while [[ "$CURRENT_PATH" != "/" ]]; do FIND_PATHS+=( "$CURRENT_PATH" ) CURRENT_PATH=$(dirname $CURRENT_PATH) -- 2.30.2